package com.bpzj.drools.service;

import com.bpzj.drools.entity.QueryParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class CombineService {

  public boolean decideCombine(String value, String relation, String combine) {
    log.info("value:"+value);
    return true;
  }

  public static boolean drlImport(String args) {
    log.info("在drl引入的static方法");
    return true;
  }

  public QueryParam getParam() {
    QueryParam param = new QueryParam();
    param.setParamId("newParamId");
    param.setParamSign("newParamSign");
    return param;
  }
}
